package io.github.talelin.latticy.service;

import io.github.talelin.latticy.bo.BannerWithItemsBO;
import io.github.talelin.latticy.dto.BannerDTO;
import io.github.talelin.latticy.model.Banner;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tanrentao
 * @since 2021-08-10
 */
public interface BannerService extends IService<Banner> {

    void delete(Integer id);

    void update(BannerDTO dto, Integer id);

    BannerWithItemsBO getWithItems(Integer id);
}
